package jeecg.business.entity.keyword;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import jeecg.business.entity.keywordtype.KeywordTypeEntity;

import org.hibernate.annotations.GenericGenerator;

/**   
 * @Title: Entity
 * @Description: 关键词
 * @author LinYingPiaoJian
 * @date 2015-06-04 17:31:49
 * @version V1.0   
 *
 */
@Entity
@Table(name = "NMS_KEY_WORD", schema = "")
@SuppressWarnings("serial")
public class KeywordEntity implements java.io.Serializable {
	/**主键*/
	private java.lang.String id;
	/**关键词*/
	private java.lang.String keyword;
	/**
	 * 匹配内容
	 */
	private String ppnr;
	/**
	 * 不匹配关键词
	 */
	private String bppgjc;
	
	private String allkeyword;
	/**顺序号*/
	private java.lang.Integer sortnum;
	/**状态*/
	private java.lang.String status;
	
	private String qyid;
	
	private String lx;
	
	private KeywordTypeEntity type;
	/**
	 * 关系型报表分析
	 */
	private String refwordReport;
	
	private Integer ssyqzqys;
	
	private Integer xwmhzqys;
	
	private Integer ltzqys;
	
	private Integer bkzqys;
	
	private Integer	wbzqys;
	
	private Integer	wxzqys;
	
	private Integer spzqys;
	/**
	 * 是否匹配词库
	 */
	private String ppck;
	
	
	@Transient
	public String getRefwordReport() {
		return refwordReport;
	}

	public void setRefwordReport(String refwordReport) {
		this.refwordReport = refwordReport;
	}

	@Transient
	public KeywordTypeEntity getType() {
		return type;
	}

	public void setType(KeywordTypeEntity type) {
		this.type = type;
	}

	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  主键
	 */
	
	@Transient
	public String getAllkeyword() {
		return allkeyword;
	}

	public void setAllkeyword(String allkeyword) {
		this.allkeyword = allkeyword;
	}
	
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=32)
	public java.lang.String getId(){
		return this.id;
	}

	

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  主键
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  关键词
	 */
	@Column(name ="KEYWORD",nullable=true,length=127)
	public java.lang.String getKeyword(){
		return this.keyword;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  关键词
	 */
	public void setKeyword(java.lang.String keyword){
		this.keyword = keyword;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  顺序号
	 */
	@Column(name ="SORTNUM",nullable=true,precision=10,scale=0)
	public java.lang.Integer getSortnum(){
		return this.sortnum;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  顺序号
	 */
	public void setSortnum(java.lang.Integer sortnum){
		this.sortnum = sortnum;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  状态
	 */
	@Column(name ="STATUS",nullable=true,length=32)
	public java.lang.String getStatus(){
		return this.status;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  状态
	 */
	public void setStatus(java.lang.String status){
		this.status = status;
	}
	
	@Column(name ="PPNR")
	public String getPpnr() {
		return ppnr;
	}

	public void setPpnr(String ppnr) {
		this.ppnr = ppnr;
	}
	
	@Column(name ="BPPGJC")
	public String getBppgjc() {
		return bppgjc;
	}

	public void setBppgjc(String bppgjc) {
		this.bppgjc = bppgjc;
	}
	@Column(name ="QYID")
	public String getQyid() {
		return qyid;
	}

	public void setQyid(String qyid) {
		this.qyid = qyid;
	}
	
	@Column(name ="LX")
	public String getLx() {
		return lx;
	}

	public void setLx(String lx) {
		this.lx = lx;
	}
	@Column(name ="SSYQZQYS")
	public Integer getSsyqzqys() {
		return ssyqzqys;
	}

	public void setSsyqzqys(Integer ssyqzqys) {
		this.ssyqzqys = ssyqzqys;
	}
	@Column(name ="XWMHZQYS")
	public Integer getXwmhzqys() {
		return xwmhzqys;
	}

	public void setXwmhzqys(Integer xwmhzqys) {
		this.xwmhzqys = xwmhzqys;
	}
	@Column(name ="LTZQYS")
	public Integer getLtzqys() {
		return ltzqys;
	}

	public void setLtzqys(Integer ltzqys) {
		this.ltzqys = ltzqys;
	}
	@Column(name ="BKZQYS")
	public Integer getBkzqys() {
		return bkzqys;
	}

	public void setBkzqys(Integer bkzqys) {
		this.bkzqys = bkzqys;
	}
	@Column(name ="WBZQYS")
	public Integer getWbzqys() {
		return wbzqys;
	}

	public void setWbzqys(Integer wbzqys) {
		this.wbzqys = wbzqys;
	}
	@Column(name ="WXZQYS")
	public Integer getWxzqys() {
		return wxzqys;
	}

	public void setWxzqys(Integer wxzqys) {
		this.wxzqys = wxzqys;
	}
	@Column(name ="SPZQYS")
	public Integer getSpzqys() {
		return spzqys;
	}

	public void setSpzqys(Integer spzqys) {
		this.spzqys = spzqys;
	}
	@Column(name ="PPCK")
	public String getPpck() {
		return ppck;
	}

	public void setPpck(String ppck) {
		this.ppck = ppck;
	}
	
	
}
